QA Wizard Pro can perform actions on context (shortcut) menu items. Testing context menus requires the ContextMenu object in a script statement with the X and Y coordinates, relative to a window or control, for where to open the menu.
After you specify where the context menu should be opened, you can enter a context menu item to test and an object action statement, such as Click or Select, or a low-level action statement, such as mouse movement statements, to perform on the item. You can also create checkpoints for context menus.
The following example shows a statement that selects a context menu item.
Window("CRM").Tree("treeProducts").Item("Solutions/Design/WysiOrganize").ContextMenu(110, 12).Item("Add/Category").Select()
Note: To specify a context menu item by index, enclose the index number in square brackets ([]). For example, Window("CRM").ContextMenu(150, 20).Item("Reports/[4]").Select().